home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A circular red gold frame',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.2525,0.0816667,0.765,0.923333),
- 'Darkness': 0,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (198,138,98),
- 'Material': App.Constants.LensFrameMaterial.BrightBronze,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 9
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (244,183,110),
- 'LightDirection': (0.0853,-0.4784,-0.7094),
- 'HighlightSize': 83
- },{
- 'LightColor': (255,255,255),
- 'LightDirection': (1,1,-1),
- 'HighlightSize': 37
- }],
- 'MaxAmbience': 46,
- 'MinAmbience': 33
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 20,
- 'Magnification': 5,
- 'LensMaterial': {
- 'Color': (255,255,255),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 0,
- 'Refraction': 0,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 26
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-